<?php
//Compiled by TIBlog Template Engine v2.0 , Created on : 2011-04-28 10:48:09
defined('IN_DTE') or exit('Access Denied');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<TITLE><?php
echo $_obj['title'];
?>
 - 电影评论网</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<meta name="keywords" content="<?php
echo $_obj['title'];
?>
,<?php
echo $_obj['title'];
?>
影评,剧情介绍,电影图片,预告片,影讯,论坛">
<meta name="description" content="<?php
echo $_obj['title'];
?>
电影简介和剧情介绍、<?php
echo $_obj['title'];
?>
影评、图片、预告片和论坛推荐">
<LINK rel=stylesheet type=text/css href="/static/css/global.css">
<LINK rel=stylesheet type=text/css href="/static/css/packed_douban53.css">
<LINK rel=stylesheet type=text/css href="/static/css/packed__all12.css">
<link rel="stylesheet" type=text/css href="/static/css/re.css"  />

<!-- <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/blitzer/jquery.ui.all.css" rel="stylesheet" type="text/css"/> -->
<link href="/static/css/jquery.ui.all/jquery.ui.all.css" rel="stylesheet" type="text/css"/>



</head>
<body>
<div id=header>
	<div class="topbar">
		<div class="l"></div>
	  <div class="r"><?php
echo $_obj['logintip'];
?>
</div>		
		
	</div>
	<div class=topper>
		<div class=logo>
			<p><a href="/">电影评论网</a><span>beta</span></p>
			</br>
			<p>movie.com</p>
			<p>最新、最热、最实时的电影信息和评论</p> 
		</div>
		<div class=nav>
			<ul>
				<li><a href="/movie/coming">即将上映</a>  |</li>
				<li><a href="/movie/hot">最热</a>  |</li>
				<li><a href="/movie/popular">最多喜欢</a></li>
			</ul> 
		</div>
	</div>
	<div class=searchbar>
		<form method="get" action="/search/">
			<input type="text" class="ipt" name="keywords" value="电影名称、导演或演员" onblur="if(this.value=='') this.value='电影名称、导演或演员';" 
		onfocus="if(this.value=='电影名称、导演或演员') this.value='';" /><input type="submit" class="sbtn" value="" />
		</form>
	</div>
</div>
<script type="text/javascript" src="/static/js/jquery.min4.js"></script>
<script type="text/javascript" src="/static/js/rating.js"></script>
<script type="text/javascript" src="/static/js/dialog.js"></script>
<script type="text/javascript" src="/static/js/re.js"></script>

<script src="/static/js/jquery-ui.min.js"></script>
<!-- <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>  -->
<script type="text/javascript">


 
 
 //下面是原来的内容

$(document).ready(function(){
	$("a.cTab").click(function (){
		$(".cTab").removeClass("active");
		$(this).addClass("active");			
		$(".cBox").hide();
		var content_show = $(this).attr("title");			
		$("#"+content_show).show();
	});
	$("a.rTab").click(function (){
		$(".rTab").removeClass("active");
		$(this).addClass("active");			
		$(".rBox").hide();
		var content_show = $(this).attr("title");			
		$("#"+content_show).show();
	});
});

function voteComment(cid){
	votes = $.ajax({url:"/movie/comments/vote/" + cid,async:false});
	result = votes.responseText;
	if (result == 'ok'){
		val = parseInt($("#vote_"+cid)[0].value);
		$("#vote_val_"+cid).html(val + 1);
	}else if (result == 'nologin'){
		window.location.href="/login"; 
	}else{
		$.fn.jmodal({title: '短评投票',content: '<BR>'+result+'<BR><BR>'});	
		window.setTimeout($.fn.hideJmodal,700);
	}
}

function checkNum (){
	var text1 = document.getElementById("comment").value;
	if(text1 == '请选择星星给电影评分'){
		document.getElementById("comment").value = '';
	}
	if(text1 == ''){
		document.getElementById("comment").value = '请选择星星给电影评分';
	}
	var len;
	var olen = 140;
	if(text1.length >= olen){
		$("#countTxt").html('<span style="color:red">0</span>');
		document.getElementById("comment").value = text1.substr(0,olen);		
	}else{ 
		$("#countTxt").html('<span style="color:green">'+(olen - text1.length)+'</span>');
	}	   
}

$(function(){if($.browser.msie && $.browser.version == 6.0){
	var maxWidth = parseInt($('#info').css('max-width'));
	if($('#info').width() > maxWidth)
		$('#info').width(maxWidth)
}});

//新增的JS,判断
function addnew()
        {
            var   ret   =   prompt("输入评论内容：","");   
              if   (ret   ==   null)   
              {   
                  return false; 
              }   
              else   if   (ret.replace(/^\s+|\s+$/g,"")   ==   "")   
              {
                alert("输入内容为空！");   
                 
              }
			  
              //document.getElementById("TextBox1").value=ret;
			  return false;
			  ajax_post();
        }
function ajax_post(){
  $.post("action.php",{ret:ret},
  function(data){
    //$('#msg').html("please enter the email!");
    //alert(data);
    $('#msg').html(data);
  },
  "text");//这里返回的类型有：json,html,xml,text
}

</script>

<div id="content">
<h1><span style="float:left"><?php
echo $_obj['title'];
?>
</span><span class="year">&nbsp;(<?php
echo $_obj['playyear'];
?>
)</span><div class="clear"></div></h1>
<div class="grid-16-8 clearfix">
<div class="article">
<div class="indent">
<div class="subjectwrap clearfix">
	<div class="subject clearfix">
		<div id="mainpic"><a class="nbg" href="/static/upload/thumb<?php
echo $_obj['thumb'];
?>
"><img src="/static/upload/thumb<?php
echo $_obj['thumb'];
?>
" alt="<?php
echo $_obj['title'];
?>
" height="147" width="100"></a></div>
		<div id="info">
			<?php
echo $_obj['descs'];
?>

		</div>
	</div>
	<div id="interest_sectl">
		<div class="rating_wrap clearbox">
			<p class="rating_self clearfix">
				<span class="ll bigstar<?php
echo $_obj['rating_img'];
?>
"></span>
				<strong class="ll rating_num"><?php
echo $_obj['rating'];
?>
</strong>
				<span content="10.0"></span>
			</p>
			<p class="rating_self font_normal">(<a href="collections"><span><?php
echo $_obj['ratings'];
?>
</span>人评价</a>)</p>
		</div>
	</div>
</div>
</div>

<div class="related_info">
	<!--剧情-->
	<h2>剧情简介</h2>
	<div class="indent"><span><?php
echo $_obj['story'];
?>
</span></div>

	<!--写短评-->	
	<?php
if (!empty($_obj['myComment'])){
?>
	<h2>修改短评</h2>
	<div class="indent"><span><?php
echo $_obj['mtips'];
?>
</span>
	<script type="text/javascript">
	$(function() {
		$('#rating').raty({
			half: true,
			start:<?php
echo $_obj['myComment']['rating'];
?>
,
		});
		checkNum();
		<?php
echo $_obj['myComment']['isWish'];
?>

	});	
	function watchAction (id){ 
		if(id == '2'){
			$("#collectBox").hide('fast');
		}else{
			$("#collectBox").show('fast');
		}
	}
	</script>
	<form name="comments" method="post" action="/movie/comments/edit/<?php
echo $_obj['myComment']['id'];
?>
">
	<div id="collectBox">我看了，我的评分是：<span id="rating"></span></div>
	<div style="margin-top:10px">
		<div style="float:left;width:100px">
			<label><input type="radio" name="watch_action" value="1"<?php
echo $_obj['myComment']['collected'];
?>
onclick="watchAction('1');"/>看了</label>         
			<label><input type="radio" name="watch_action" value="2"<?php
echo $_obj['myComment']['wished'];
?>
onclick="watchAction('2');"/>想看</label>
			<div style="margin-top:70px;font-size:14px"><a href="/review/new/<?php
echo $_obj['id'];
?>
/">写详细影评 &raquo;</a></div>			
		</div>
		<div style="float:left;;width:485px;text-align:right">
		  <textarea class="textarea" name="textarea" id="textarea" style="width:460px;height:75px;margin:0px" onkeyup="checkNum()" onblur="checkNum()" onfocus="checkNum()" ><?php
echo $_obj['myComment']['contents'];
?>
</textarea>
		  <label style="color:#999;">还能输入 <span id="countTxt" style="font-size:18px;color:green" >140</span> 个字</label>
			<input type="submit" class="btn" value="修改短评"/>
		</div>
	</div>
	</form>
	<?php
} else {
?>
	<h2>写短评……</h2>
	<div class="indent"><span><?php
echo $_obj['mtips'];
?>
</span>
	<script type="text/javascript">
	$(function() {
		$('#rating').raty({
			half: true,
			click: function(score) {
				document.getElementById("comment").value = '我给电影《<?php
echo $_obj['title'];
?>
》评分是:' + score * 2 + '分。';
			}
		});
	});
	function watchAction (id){ 
		if(id == '2'){
			document.getElementById("comment").value = '我想看电影《<?php
echo $_obj['title'];
?>
》。';
			$("#collectBox").hide('fast');
		}else{
			document.getElementById("comment").value = '请选择星星给电影评分。';
			$("#collectBox").show('fast');
		}
	}
	</script>
	<form name="comments" method="post" action="/movie/comments/new/<?php
echo $_obj['id'];
?>
">
	<div id="collectBox">我看了，我的评分是：<span id="rating"></span></div>
	<div style="margin-top:10px">
		<div style="float:left;width:100px">
			<label><input type="radio" name="watch_action" value="1" checked="checked" onclick="watchAction('1');"/>看了</label>         
			<label><input type="radio" name="watch_action" value="2" onclick="watchAction('2');"/>想看</label>
			<div style="margin-top:70px;font-size:14px"><a href="/review/new/<?php
echo $_obj['id'];
?>
/">写详细影评 &raquo;</a></div>
			
		</div>
		<div style="float:left;;width:485px;text-align:right">
			<textarea class="textarea" name="content" id="comment" style="width:460px;height:75px;margin:0px" onKeyUp="checkNum()" onblur="checkNum()" onfocus="checkNum()" >请选择星星给电影评分</textarea>			
			<label style="color:#999;">还能输入 <span id="countTxt" style="font-size:18px;color:green" >140</span> 个字</label>
			<input type="submit" class="btn" value="发微博"/>
		</div>
	</div>
	</form>
	<?php
}
?>
	<div class="clear"></div>
	</div>

	<!--图片-->
	<h2>电影图片 <span class="pl">(<a href="/movie/<?php
echo $_obj['id'];
?>
/photos">全部 <?php
echo $_obj['photos'];
?>
 张</a>&nbsp;)</span></h2>
	<ul class="pic-col5 clearfix">
	<?php
if (!empty($_obj['photoList'])){
if (!is_array($_obj['photoList']))
$_obj['photoList']=array(array('photoList'=>$_obj['photoList']));
$_tmp_arr_keys=array_keys($_obj['photoList']);
if ($_tmp_arr_keys[0]!='0')
$_obj['photoList']=array(0=>$_obj['photoList']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['photoList'] as $rowcnt=>$photoList) {
$photoList['ROWCNT']=$rowcnt;
$photoList['ALTROW']=$rowcnt%2;
$photoList['ROWBIT']=$rowcnt%2;
$_obj=&$photoList;
?>
	<li><a href="/photos/<?php
echo $_obj['id'];
?>
/"><img src="/static/upload/photos/thumb/<?php
echo $_obj['filename'];
?>
" height=100 width=100 /></a></li>
	<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
	</ul>
	
	<h2 class="clearfix"><span class="ll"><?php
echo $_obj['title'];
?>
 的短评</span>
	<a class="rr" href="/movie/<?php
echo $_obj['id'];
?>
/comments">更多 <?php
echo $_obj['comments'];
?>
 条短评 &raquo;</a></h2> 
	<!--简评-->
	<div class="tab_area">
        <ul class="tabs">
            <li><a href="javascript:void(0)" title="cBox_1" class="tab active cTab" onfocus="this.blur()">最新的短评</a></li>
            <li><a href="javascript:void(0)" title="cBox_2" class="tab cTab"  onfocus="this.blur()">朋友的短评</a></li>
        </ul> 		
        <div id="cBox_1" class="content cBox">
			<ul class="simple_list" >	
				<?php
if (!empty($_obj['comment'])){
if (!is_array($_obj['comment']))
$_obj['comment']=array(array('comment'=>$_obj['comment']));
$_tmp_arr_keys=array_keys($_obj['comment']);
if ($_tmp_arr_keys[0]!='0')
$_obj['comment']=array(0=>$_obj['comment']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['comment'] as $rowcnt=>$comment) {
$comment['ROWCNT']=$rowcnt;
$comment['ALTROW']=$rowcnt%2;
$comment['ROWBIT']=$rowcnt%2;
$_obj=&$comment;
?>
				<div class='ctsh' style="float:left;margin-bottom:10px;border-bottom:1px #ccc dashed;padding-bottom:10px">
					<div style="float:left;width:55px;padding-top:5px">
						<a href="/people/<?php
echo $_obj['uid'];
?>
/" ><img class="pil" src="<?php
echo $_obj['profile_image_url'];
?>
"/></a> <!-- 原来的/static/avatars/<?php
echo $_obj['avatars'];
?>
-->
					</div>
					<div style="float:right;;width:535px;">
						<div class="clearfix">
							<span class="fleft"><a href="/people/<?php
echo $_obj['uid'];
?>
/" ><?php
echo $_obj['username'];
?>
</a>&nbsp;<span class=" ml8"><?php
echo $_obj['addtime'];
?>
</span><span class="stars<?php
echo $_obj['rating'];
?>
 stars" ></span></span>
							<input id="vote_<?php
echo $_obj['id'];
?>
" value="<?php
echo $_obj['support'];
?>
" type="hidden"/>
							<!--<span class="fright"><span class="votes pr5" id="vote_val_<?php
echo $_obj['id'];
?>
"><?php
echo $_obj['support'];
?>
</span><a href="javascript:;" onclick="voteComment(<?php
echo $_obj['id'];
?>
);">有用</a></span>     把“有用功能屏蔽”-->
						</div>
						<div id="message_<?php
echo $_obj['weibo_id'];
?>
"><?php
echo $_obj['contents'];
?>
 </div>
						<div align="right" id="<?php
echo $_obj['weibo_id'];
?>
"><a href="javascript:rt(<?php
echo $_obj['weibo_id'];
?>
,<?php
echo $_obj['mid'];
?>
)" value="" title="转发到新浪微博" >转发(<span id="rt_sum<?php
echo $_obj['weibo_id'];
?>
"><?php
echo $_obj['rt'];
?>
</span>)</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a >收藏</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="javascript:Comment(<?php
echo $_obj['weibo_id'];
?>
)" value=""  title="评论到新浪微博" >评论(<span id="re_sum<?php
echo $_obj['weibo_id'];
?>
"><?php
echo $_obj['comments'];
?>
</span>)</a></div>
					</div>	
				</div>
				<div class="clear"></div>
				<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
				
			</ul>
		</div>
        <div id="cBox_2" class="content cBox">
			<?php
if (!empty($_obj['friendComments'])){
?>
			<?php
if (!empty($_obj['friendComments'])){
if (!is_array($_obj['friendComments']))
$_obj['friendComments']=array(array('friendComments'=>$_obj['friendComments']));
$_tmp_arr_keys=array_keys($_obj['friendComments']);
if ($_tmp_arr_keys[0]!='0')
$_obj['friendComments']=array(0=>$_obj['friendComments']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['friendComments'] as $rowcnt=>$friendComments) {
$friendComments['ROWCNT']=$rowcnt;
$friendComments['ALTROW']=$rowcnt%2;
$friendComments['ROWBIT']=$rowcnt%2;
$_obj=&$friendComments;
?>
				<div class='ctsh' style="float:left;margin-bottom:10px;border-bottom:1px #ccc dashed;padding-bottom:10px">
					<div style="float:left;width:55px;padding-top:5px">
						<a href="/people/<?php
echo $_obj['uid'];
?>
/"><img class="pil" src="/static/avatars/<?php
echo $_obj['avatars'];
?>
"/></a>
					</div>
					<div style="float:right;;width:535px;">
						<div class="clearfix">
							<span class="fleft"><a href="/people/<?php
echo $_obj['uid'];
?>
/"><?php
echo $_obj['username'];
?>
</a>&nbsp;<span class=" ml8"><?php
echo $_obj['addtime'];
?>
</span><span class="stars<?php
echo $_obj['rating'];
?>
 stars" ></span></span>
							<input id="vote_<?php
echo $_obj['id'];
?>
" value="<?php
echo $_obj['support'];
?>
" type="hidden"/>
							<span class="fright"><span class="votes pr5" id="vote_val_<?php
echo $_obj['id'];
?>
"><?php
echo $_obj['support'];
?>
</span><a href="javascript:;" onclick="voteComment(<?php
echo $_obj['id'];
?>
);">有用</a></span>
						</div>
						<?php
echo $_obj['contents'];
?>

					</div>	
				</div>
				<div class="clear"></div>
			<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
			<?php
} else {
?>
			您还未登录，登录后才能看到您朋友的短评。
			<?php
}
?>
		</div>
		<div class="clear"></div>
    </div>

	<!--影评-->
	<h2 class="clearfix"><span class="ll"><?php
echo $_obj['title'];
?>
的影评&nbsp;</span>
	<a class="rr" href="/review/new/<?php
echo $_obj['id'];
?>
/">我来写影评 &raquo;</a>
	</span></a>
	
	</h2> 
	<div class="tab_area">
        <ul class="tabs">
            <li><a href="javascript:void(0)" title="rBox_1" class="tab active rTab" onfocus="this.blur()">热门的影评</a></li>
            <li><a href="javascript:void(0)" title="rBox_2" class="tab rTab"  onfocus="this.blur()">最新的影评</a></li>
        </ul> 

        <div id="rBox_1" class="content rBox">
			<?php
if (!empty($_obj['hot_reviews'])){
if (!is_array($_obj['hot_reviews']))
$_obj['hot_reviews']=array(array('hot_reviews'=>$_obj['hot_reviews']));
$_tmp_arr_keys=array_keys($_obj['hot_reviews']);
if ($_tmp_arr_keys[0]!='0')
$_obj['hot_reviews']=array(0=>$_obj['hot_reviews']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['hot_reviews'] as $rowcnt=>$hot_reviews) {
$hot_reviews['ROWCNT']=$rowcnt;
$hot_reviews['ALTROW']=$rowcnt%2;
$hot_reviews['ROWBIT']=$rowcnt%2;
$_obj=&$hot_reviews;
?>
			<div class='ctsh'>
			<ul class="tlst clearfix" style="clear:both">
				<li class="nlst">
					<h3><a href="/review/<?php
echo $_obj['id'];
?>
/"><?php
echo $_obj['title'];
?>
</a><div class="rr"><a href="/review/<?php
echo $_obj['id'];
?>
/"><img src="/static/img/arrow2.gif"/></a></div></h3>
				</li>
				<li class="ilst" style="clear:both;"><a href="/people/<?php
echo $_obj['uid'];
?>
/"><img class="pil" src="/static/avatars/<?php
echo $_obj['avatars'];
?>
"/></a></li>
				<li class="clst">
					<span class="pl ll obss"><span class="starb">
					<a href="/people/<?php
echo $_obj['uid'];
?>
/"><?php
echo $_obj['username'];
?>
</a> &nbsp;</span><span class="stars<?php
echo $_obj['rating'];
?>
 stars"></span></span><br/><br/>
					<div><?php
echo $_obj['contents'];
?>
...... 
					<a class="pl" href="/review/<?php
echo $_obj['id'];
?>
/">(<?php
echo $_obj['reply'];
?>
回应)</a><br/>
					<div class="pl clearfix"><span class="fleft"><?php
echo $_obj['addtime'];
?>
 &nbsp; &nbsp;</span></div></div>
				</li>
			</ul>
			</div>
			<div class="clear"></div>
			<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>		
			<p class="pl" align="right">&gt; <a href="/movie/<?php
echo $_obj['id'];
?>
/reviews/">更多影评(共<?php
echo $_obj['review'];
?>
条)</a></p>			
		</div>

		<div id="rBox_2" class="content rBox">
			<?php
if (!empty($_obj['new_reviews'])){
if (!is_array($_obj['new_reviews']))
$_obj['new_reviews']=array(array('new_reviews'=>$_obj['new_reviews']));
$_tmp_arr_keys=array_keys($_obj['new_reviews']);
if ($_tmp_arr_keys[0]!='0')
$_obj['new_reviews']=array(0=>$_obj['new_reviews']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['new_reviews'] as $rowcnt=>$new_reviews) {
$new_reviews['ROWCNT']=$rowcnt;
$new_reviews['ALTROW']=$rowcnt%2;
$new_reviews['ROWBIT']=$rowcnt%2;
$_obj=&$new_reviews;
?>
			<div class='ctsh'>
			<ul class="tlst clearfix" style="clear:both">
				<li class="nlst">
					<h3><a href="/review/<?php
echo $_obj['id'];
?>
/"><?php
echo $_obj['title'];
?>
</a><div class="rr"><a href="/review/<?php
echo $_obj['id'];
?>
/"><img src="/static/img/arrow2.gif"/></a></div></h3>
				</li>
				<li class="ilst" style="clear:both;"><a href="/people/<?php
echo $_obj['uid'];
?>
/"><img class="pil" src="/static/avatars/<?php
echo $_obj['avatars'];
?>
"/></a></li>
				<li class="clst">
					<span class="pl ll obss"><span class="starb">
					<a href="/people/<?php
echo $_obj['uid'];
?>
/"><?php
echo $_obj['username'];
?>
</a> &nbsp;</span><span class="stars<?php
echo $_obj['rating'];
?>
 stars"></span></span><br/><br/>
					<div><?php
echo $_obj['contents'];
?>
...... 
					<a class="pl" href="/review/<?php
echo $_obj['id'];
?>
/">(<?php
echo $_obj['reply'];
?>
回应)</a><br/>
					<div class="pl clearfix"><span class="fleft"><?php
echo $_obj['addtime'];
?>
 &nbsp; &nbsp;</span></div></div>
				</li>
			</ul>
			</div>
			<div class="clear"></div>
			<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>		
			<p class="pl" align="right">&gt; <a href="/movie/<?php
echo $_obj['id'];
?>
/reviews/">更多影评(共<?php
echo $_obj['review'];
?>
条)</a></p>	
		</div>

	</div>
</div>
</div>

 
<div class="aside">
<h2>走势...(最近2周)</h2>
<div class="indent" id="collector">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0"
width="321" height="200" id="chart" align="middle">
<param name="allowScriptAccess" value="sameDomain"/>
<param name="movie" value="/static/swf/open-flash-chart.swf"/>
<param name="FlashVars" value="data-file=/movie/<?php
echo $_obj['id'];
?>
/ratingcount/<?php
echo $_obj['ftimes'];
?>
/"/>
<param name="quality" value="high"/>
<param name="bgcolor" value="#FFFFFF"/>
<embed src="/static/swf/open-flash-chart.swf" FlashVars="data-file=/movie/<?php
echo $_obj['id'];
?>
/ratingcount/<?php
echo $_obj['ftimes'];
?>
/"
quality="high" bgcolor="#FFFFFF" width=321 height=200
name="chart" align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"/>
</object>
</div>

<h2>你的朋友中，谁看过该电影？</h2>
<?php
if (!empty($_obj['friendCollect'])){
if (!is_array($_obj['friendCollect']))
$_obj['friendCollect']=array(array('friendCollect'=>$_obj['friendCollect']));
$_tmp_arr_keys=array_keys($_obj['friendCollect']);
if ($_tmp_arr_keys[0]!='0')
$_obj['friendCollect']=array(0=>$_obj['friendCollect']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['friendCollect'] as $rowcnt=>$friendCollect) {
$friendCollect['ROWCNT']=$rowcnt;
$friendCollect['ALTROW']=$rowcnt%2;
$friendCollect['ROWBIT']=$rowcnt%2;
$_obj=&$friendCollect;
?>
<dl class="ob"><dt><a  href=""><img src="/static/avatars/<?php
echo $_obj['avatars'];
?>
" class="m_sub_img"/></a></dt>
<dd><a href="/people/<?php
echo $_obj['uid'];
?>
"><?php
echo $_obj['username'];
?>
</a>
</dd></dl>
<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
<div class="clear"></div>

<h2>你的朋友中，谁想看该电影？</h2>
<?php
if (!empty($_obj['friendWish'])){
if (!is_array($_obj['friendWish']))
$_obj['friendWish']=array(array('friendWish'=>$_obj['friendWish']));
$_tmp_arr_keys=array_keys($_obj['friendWish']);
if ($_tmp_arr_keys[0]!='0')
$_obj['friendWish']=array(0=>$_obj['friendWish']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['friendWish'] as $rowcnt=>$friendWish) {
$friendWish['ROWCNT']=$rowcnt;
$friendWish['ALTROW']=$rowcnt%2;
$friendWish['ROWBIT']=$rowcnt%2;
$_obj=&$friendWish;
?>
<dl class="ob"><dt><a  href=""><img src="/static/avatars/<?php
echo $_obj['avatars'];
?>
" class="m_sub_img"/></a></dt>
<dd><a href="/people/<?php
echo $_obj['uid'];
?>
"><?php
echo $_obj['username'];
?>
</a>
</dd></dl>
<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
<div class="clear"></div>


</div>
</div>
</div>

<DIV class=clear></DIV>
<DIV id="footer">
	<DIV class="left">
		&copy; 2010 Movie.com, All Rights Reserved.&nbsp;&nbsp;&nbsp;苏ICP没有备案号&nbsp;&nbsp;<BR>
		<SPAN><?php
echo $_obj['debuginfo'];
?>
</SPAN>
	</DIV>
	<DIV class="right">
		<A href="/about/aboutus">关于我们</A>
		<A href="/about/flinks">友情链接</A>
		<A href="/about/contact">联系及合作</A>
		<A href="/about/feedback">投诉与建议</A>
		<A href="/about/sitemap">站点地图</A>
		<A href="/about/sitemap">使用帮助</A>		 
	</DIV>
</DIV>       
</body></html>